<?php
use yii\helpers\StringHelper;
use yii\widgets\ListView;

/* @var $this yii\web\View */
$this->title = $itemModel->title;

\Yii::$app->view->registerMetaTag([
    'name' => 'description',
    'content' => StringHelper::truncate(strip_tags($itemModel->full_description), 120),
]);

?>

<div class="container base-container">
    <div class="row">
        <div class="col-sm-12">
            <h1><?= $itemModel->title ?></h1>
            <p><?= $itemModel->full_description ?></p>
        </div>
    </div>
</div>

<div class="container base-container">
    <div class="row">
        <div class="col-sm-6 img-container">
            <img src="<?= 'https://storage.yandexcloud.net/' . tkan\models\FondItem::BUCKET_NAME . '/' . $itemModel->prev_img; ?>">
        </div>
        <div class="col-sm-6 img-container">
            <img src="<?= 'https://storage.yandexcloud.net/' . tkan\models\FondItem::BUCKET_NAME . '/' . $itemModel->gallery_img; ?>">
        </div>
    </div>
</div>

